package com.jumi.microservice.service;

import com.jumi.microservice.common.page.TableDataInfo;
import com.jumi.microservice.dto.invoice.*;

/**
 * @author ldy
 */

public interface IWalletInvoiceService {
    /**
     * 订单发票状态修改
     *
     * @param invoiceStatusRequest
     * @return
     */
    Boolean invoiceEditStatus(InvoiceStatusRequest invoiceStatusRequest);

    /**
     * 根据订单编号查看发票状态
     *
     * @param
     * @return
     */
    Integer invoiceOneStatus(Integer orderId);

    /**
     * 根据订单编号查询发票列表
     *
     * @param invoiceOrderSnListRequest
     * @return
     */
    TableDataInfo<InvoiceOrderSnListResponse> invoiceListOrder(InvoiceOrderSnListRequest invoiceOrderSnListRequest);

    /**
     * 订单发票添加
     *
     * @param invoiceAddRequest
     * @return
     */
    Integer addOrderInvoice(InvoiceAddRequest invoiceAddRequest);


    /**
     * 获取发票详情
     *
     * @param request
     * @return
     */
    InvoiceOneResponse getInvoice(InvoiceOneRequest request);
}
